package com.dps.metrics.processor;

import java.util.Map;

public interface MetricsRecorder {
    default void recordStart() {
    }

    default void recordStart(Map<String, String> tags) {
    }

    default void recordSuccess() {
    }

    default void recordSuccess(Map<String, String> tags) {
    }

    default void recordError() {
    }

    default void recordError(Map<String, String> tags) {
    }

    default void recordFinished() {
    }

    default void recordFinished(long elapsedTime) {
    }

    default void recordFinished(Map<String, String> tags) {
    }

    default void recordFinished(Map<String, String> tags, long elapsedTime) {
    }
}
